package com.mcc.app.group.domain;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.util.List;

/**
 * 班组对象 group_team
 *
 * @author gxy
 * @date 2021-07-08
 */
@ApiModel("班组对象")
@Data
public class GroupTeam implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId
    @ApiModelProperty("ID")
    private Long teamId;

    @ApiModelProperty("班组名称")
    private String teamName;

    @ApiModelProperty("代码")
    private String code;

    @ApiModelProperty("排序")
    private Integer sort;

    @ApiModelProperty("成员")
    @TableField(exist = false)
    private List<GroupTeamUser> userList;

}
